package com.whfc.hdc.enums;

/**
 * @Description: 硬件指令状态枚举
 * @author: xugcheng
 * @version: 1.0
 * @date: 2021-07-19 17:23
 */
public enum DeviceCmdState {

    NOT_SEND(0, "未发送"),

    SEND(1, "已发送"),

    ACK(2, "已确认"),

    SUCCESS(3, "成功"),

    FAIL(4, "失败");

    private Integer value;

    private String desc;

    DeviceCmdState(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
